package com.zhang.test_zhang.entity;

import java.io.Serializable;
import java.math.BigDecimal;
import lombok.Data;

/**
 * user
 * @author
 *
 * CREATE TABLE `user` (
 *   `id` int NOT NULL COMMENT '用户主键id',
 *   `user_name` varchar(20) DEFAULT NULL COMMENT '用户名',
 *   `wallet` decimal(10,2) DEFAULT NULL COMMENT '钱包余额',
 *   PRIMARY KEY (`id`)
 * ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci;
 */
@Data
public class User implements Serializable {
    /**
     * 用户主键id
     */
    private Integer id;

    /**
     * 用户名
     */
    private String userName;

    /**
     * 钱包余额
     */
    private BigDecimal wallet;

    private static final long serialVersionUID = 1L;
}